HttpMessage.constructDirectResponse

Fill in the fields for a response message header that the server will send directly to the client. This function assumes the status code and status message have already been set on this HTTPMessage object

@param version HTTP version (major, minor) @param contentLength the length of the data to be written out through this message

  1. void constructDirectResponse(ubyte maj, ubyte min, int statucode, string statusMsg, int contentLength)
  2. void constructDirectResponse(ubyte maj, ubyte min, int contentLength)
    class HttpMessage
    void
    constructDirectResponse
    (
    ubyte maj
    ,
    ubyte min
    ,
    int contentLength = 0
    )

Meta